package ru.reaperoq.taskmanager.repositories

import org.springframework.data.repository.CrudRepository
import ru.reaperoq.taskmanager.models.TaskList

interface ListRepository : CrudRepository<TaskList, Long> {
    fun getListsByAuthorId(userId: Long): List<TaskList>

    fun findListsByTitleOrderByTitle(title: String): List<TaskList>
}